package com.nanhai.buddhist.college.module.study.controller.admin.attendancemanagementlog.vo;

import com.nanhai.buddhist.college.module.study.dal.dataobject.attendancemanagementlog.AttendanceManagementLogDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author AKai
 * @date 2022/9/4
 */
@Data
public class ManagementLogResVO    {
    @ApiModelProperty(value = "请假id", required = true)
    private String managementId;

    @ApiModelProperty(value = "审核前状态", required = true)
    private Integer oldStatus;

    @ApiModelProperty(value = "审核后状态", required = true)
    private Integer newStatus;

    @ApiModelProperty(value = "审核老师id", required = true)
    private String checkTeacherId;

    @ApiModelProperty(value = "审核时间", required = true)
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date checkTime;

    @ApiModelProperty(value = "审核备注", required = true)
    private String checkRemake;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "请假事由", required = true)
    private String leaveReason;

    @ApiModelProperty(value = "请假天数(单位:天)", required = true)
    private Double leaveDays;

    @ApiModelProperty("请假提交时间")
    private Date submitTime;


}
